package com.qf.ssm.common.vo;

import lombok.Getter;

/*
   @author 86155
   @ClassName: com.qf.common.vo.ResponseCode
   @Description: 该类的功能描述
   @date: 2021/10/8 17:38 
*/
@Getter
public enum ResponseCode {
    /*通用状态码*/
    SUCCESS(200, "success"),
    ERROR(404, "error"),

    /*系统相关*/
    SYS_ERROR(40400, "sys error"),

    /**
     * 系统相关的、业务异常、订单状态
     */
    /* 用户状态码*/
    ACCOUNT_IS_EXIST(40100, "username  or  phone  is exist");


    private int status;
    private String msg;

    ResponseCode(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }
}
